#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
typedef struct
{
	char arr1[20];
}S;
int main()
{
	int i = 0;
	int k = 3;
	S m[6] = {0};
	while (k)
	{
		int n = 0;
		scanf("%d", &n);
		if (n)
		{
			strcpy(m[i].arr1, "Yes");
			i++;
		}
		else
		{
			strcpy(m[i].arr1, "No");
			i++;
		}
		k--;
	}
	printf("%s\n", m[0].arr1);
	printf("%s\n", m[1].arr1);
	printf("%s\n", m[2].arr1);
	return 0;
}